import { wrapperEnv } from "../utils/utils";
import { useUserStore } from "@/store/modules/user";

export const config = {
  img_upload: `${wrapperEnv()}/api/tool/img_upload`,
  cardFile_upload: `${wrapperEnv()}/api/cards/transactions/upload`,
  // 'img_upload':'https://api.payfaz.cc/api/cms/tool/img_upload',
};
const useUser = useUserStore();
export const TOKENT_HEADER = {
  Authorization: `${useUser.currentUserInfo.token}`,
};
export default config;
